<!DOCTYPE html>
<html>

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,usesr-scalable=0">
	<meta name="keywods" content="">
	<meta name="description" content="">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="blank">
	<meta name="format-detection" content="telephone=no">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<title>搜索</title>
	<!-- <link rel="shortcut icon" href="__INDEX__/images/logo.ico"> -->
	<link rel="stylesheet" href="__INDEX__/css/swiper.min.css">
	<link rel="stylesheet" href="__INDEX__/css/top.css">
	<link rel="stylesheet" href="__INDEX__/css/search.css">
	<script src="__INDEX__/js/flexible_css.js"></script>
	<script src="__INDEX__/js/flexible.js"></script>
	<script src="__INDEX__/js/jquery-1.12.4.min.js"></script>
	<script src="__INDEX__/js/swiper.jquery.min.js"></script>
	<style >
		.content .c-title .right button {
		  display: block;
		  background-color: #0860A8;
		  width: 1.6rem;
		  height: 0.8rem;
		  line-height: 0.8rem;
		  color: #fff;
		  border:none;
		  border-radius: 0.06666667rem;
		  text-align: center;
		}		
	</style>
</head>

<body>
	<div class="wrap">
		<!-- 头部 -->
		{include file="public/header" /}
		<div class="content">
			<form action="{:url('index/search/res')}" method="post">
			<div class="c-title">
				<div class="left">
					<img src="__INDEX__images/search@2x.png" alt="" />
					<input type="" name="search_res" id="" value="" placeholder="请输入您要搜索的内容或关键字" />
				</div>
				<div class="right">
					<button type="">搜索</button>
				</div>
			</div>
			</form>
			<div class="c-content">
				{if condition="count($arr) eq 0"}{else/}
					<h1>历史搜索</h1>
					<div class="btn">
						{foreach name="arr" item="vo"}
							<button>{$vo}</button>
						{/foreach}
						
						<!-- <button>慰问留守儿童活动</button>
						<button>调研指示精神</button>
						<button>生态环境</button>
						<button>慰问留守儿童活动</button>
						<button>调研指示精神</button>
						<button>生态环境</button> -->
					</div>
				{/if}
				
			</div>
		</div>
		<!-- 底部导航栏 -->
		{include file="public/footer" /}

	</div>

</body>
	<script>
		$('.header ul li a').eq(2).css('color','#0860a8')
	</script>
</html>